package com.dao;

import com.pojo.TbUser;

import java.sql.SQLException;

public interface UserDao {

    //添加用户
    void addUser(TbUser user) throws SQLException;

    int active(String username,String code) throws SQLException;

    TbUser findUserByName(String username) throws SQLException;

}
